﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using JXT.PrimaryKey.Batman.Core.WcfService;
using JXT.PrimaryKey.Batman.Core.Security;

namespace JXT.PrimaryKey.Batman.WcfService.Models.Quotation
{
    /// <summary>
    /// 证券代码
    /// </summary>
    [DataContract(Namespace = ServiceEnvironment.ModelNamespace)]
    public class Securities
    {
        /// <summary>
        /// 代码
        /// </summary>
        [DataMember]
        public string Code { get; set; }

        /// <summary>
        /// 市场类型
        /// </summary>
        [DataMember]
        public MarketType MarketType { get; set; }

        /// <summary>
        /// 股票类型
        /// </summary>
        [DataMember]
        public StockType StockType { get; set; }

        /// <summary>
        /// 证券类型
        /// </summary>
        [DataMember]
        public SecuritiesType SecuritiesType { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [DataMember]
        public string Name { get; set; }

        /// <summary>
        /// 简称
        /// </summary>
        [DataMember]
        public string ShortName { get; set; }

        /// <summary>
        /// 拼音
        /// </summary>
        [DataMember]
        public string Spell { get; set; }
    }
}
